﻿namespace System.Dns.Toolkit.DnsServer {
    public interface IPriorityQueue<TP, TV> {

        void Enqueue(TP priority, TV value);
        bool TryDequeue(out TV value);
        bool IsEmpty { get; }
        int Count { get; }

    }
}
